package com.nondo.rdp.auth.event;

import org.springframework.context.ApplicationEvent;

import com.nondo.rdp.auth.domain.Message;

/**
 * 消息推送事件
 */
public class PushApplicationEvent extends ApplicationEvent {
    private static final long serialVersionUID = 1L;
    private Message message;

    public PushApplicationEvent(Object source, Message message) {
        super(source);
        this.message = message;
    }

    public Message getMessage() {
        return message;
    }
}
